package cn.fsw.pethome.org.service;

import cn.fsw.pethome.base.service.IBaseService;
import cn.fsw.pethome.org.domain.Shop;
import cn.fsw.pethome.org.domain.ShopAuditLog;
import cn.fsw.pethome.org.domain.po.ShopCO;
import cn.fsw.pethome.org.domain.po.ShopPO;
import cn.fsw.pethome.org.domain.po.ShopVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fsw
 * @since 2022-10-09
 */
public interface IShopService extends IBaseService<Shop> {
    /*店铺入驻*/
    void settlement(Shop shop);
    /*审核通过*/
    void pass(ShopAuditLog shopAuditLog);
    /*激活*/
    void activation(Long id);
    /*审核驳回*/
    void reject(ShopAuditLog shopAuditLog);
    /*批量添加*/
    void batchAdd(List<Shop> list);
    /*根据注册时间统计店铺注册数量*/
    List<ShopPO> chartLine();
    /*按照状态统计店铺数量*/
    List<ShopVo> chartColumn();
    /*根据地址统计店铺数量*/
    List<ShopCO> chartBar();
}
